package conson.tech.manage.coupons.entity.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * InterfaceName: FinanceDataPageVo
 * Description: 财务结算报表列表展示Vo
 * Author: XYF
 * Date: 2020/7/24 15:59
 * Version: 1.0
 */
@ApiModel(value = "conson.tech.manage.coupons.entity.vo.FinanceDataPageVo", description = "财务结算报表列表展示Vo")
@Data
public class FinanceDataPageVo {


    /**
     * 财务报表id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 商户（1海水浴场 2某某教育机构）
     */
    @ApiModelProperty(value = "商户（1海水浴场 2某某教育机构）")
    private String shopName;
    /**
     * 年月
     */
    @ApiModelProperty(value = "年月")
    private String yearMonth;
    /**
     * 批次id
     */
    @ApiModelProperty(value = "批次id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long batchId;
    /**
     * 优惠券批次名称
     */
    @ApiModelProperty(value = "优惠券批次名称")
    private String batchName;

    /**
     * 发券主体 0平台 1商家
     */
    @ApiModelProperty(value = "发券主体 0平台 1商家")
    private String provider;
    /**
     * 费用归属
     */
    @ApiModelProperty(value = "费用归属")
    private String providerCode;
    /**
     * 使用数量
     */
    @ApiModelProperty(value = "使用数量")
    private Integer useNum;
    /**
     * 核销金额
     */
    @ApiModelProperty(value = "核销金额")
    private BigDecimal writtenMoney;
    /**
     * 返还数量
     */
    @ApiModelProperty(value = "返还数量")
    private Integer refundNum;
    /**
     * 返还金额
     */
    @ApiModelProperty(value = "返还金额")
    private BigDecimal refundMoney;
    /**
     * 结算状态
     */
    @ApiModelProperty(value = "结算状态 1-已结算 0-未结算")
    private String status;
}
